<template>
   <div >
     <h1 v-show="isok">v-show的盒子</h1>
     <h1 v-if="isok" >v-if的盒子</h1>
     <div>
       <p >我成年了</p>
       <p>还得多茶饭</p>
     </div>
   </div>
</template>

<script>
export default {
  data() {
       return {
         isok : true,
       }
   },
  methods: {}
}
</script>

<style scoped>
</style>
